# -*- mode: python ; coding: utf-8 -*-

block_cipher = None

a = Analysis(
    ['main.py'],
    pathex=[],
    binaries=[],
    datas=[
        ('main.js', '.'),
        ('stealth.min.js', '.'),
        ('webdetect', 'webdetect'),
    ],
    hiddenimports=[
        'tld',
        'playwright',
        'playwright.sync_api',
        'playwright.async_api',
        'playwright._impl._api_types',
        'playwright._impl._connection',
        'playwright._impl._driver',
        'playwright._impl._transport',
        'playwright._impl._browser_type',
        'playwright._impl._browser',
        'playwright._impl._page',
        'playwright._impl._frame',
        'requests',
        'urllib3',
        'concurrent.futures',
        'queue',
        'threading',
        'socket',
    ],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=[],
    win_no_prefer_redirects=False,
    win_private_assemblies=False,
    cipher=block_cipher,
    noarchive=False,
)

pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.zipfiles,
    a.datas,
    [],
    name='WebDetector',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=True,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
) 